//
//  ZHProductScreeningCell.m
//  sc-cyan-ios
//
//  Created by lj on 2017/12/28.
//  Copyright © 2017年 greenbuilding. All rights reserved.
//

#import "ZHProductScreeningCell.h"

#import "ZHProductScreeningChild.h"

@interface ZHProductScreeningCell ()

//标题
@property (weak, nonatomic) IBOutlet UILabel *titleL;
//右上角图片
@property (weak, nonatomic) IBOutlet UIImageView *iconImg;

@end

@implementation ZHProductScreeningCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setModel:(ZHProductScreeningChild *)model{
    _model = model;
    
    _titleL.text = model.name;
    _iconImg.hidden = !model.isSel;
    
    _titleL.textColor = model.isSel ? [UIColor gb_textColor_21bbd7] : [UIColor gb_textColor_999999];
    
}

@end
